﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.ParallelArrays;
using FPA = Microsoft.ParallelArrays.FloatParallelArray;
using BPA = Microsoft.ParallelArrays.BoolParallelArray;
using IPA = Microsoft.ParallelArrays.IntParallelArray;
using PA = Microsoft.ParallelArrays.ParallelArrays;

namespace CoreCalc.SheetDefinedFunctions.Accellerator
{
    public class AccInput : AccExpr
    {

            private int inputIndex;
        public AccInput(int inputIndex)
    {
            this.inputIndex = inputIndex;
    }
        protected override FPA GenerateFPA(AccInputInfo info, int CallID)
        { 
            return new FPA(info.Values[inputIndex]);
        }
    }
    
}
